package com.zbkj.crmeb.store.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 功能描述: 拼团响应对象
 * @Author: wangzh
 * @Date: 2022/11/29 15:36
 */
@Data
@Accessors(chain = true)
@ApiModel("ChannelGroupBookingResponse对象")
public class ChannelGroupBookingResponse implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("活动id")
    private Integer id;

    @ApiModelProperty("活动id")
    private String groupId;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("活动名称")
    private String activityName;

    @ApiModelProperty("活动时间类型")
    private String activityTimeType;

    @ApiModelProperty("活动开始时间")
    private String activityStartTime;

    @ApiModelProperty("拼团结束时间")
    private String activityEndTime;

    @ApiModelProperty("参团人数")
    private List<Integer> joinPersonNumber;

    @ApiModelProperty("是否限购 0:不限购 1:限购")
    private Integer purchaseLimitType;

    @ApiModelProperty("限购数量")
    private Integer purchaseLimitNumber;

    @ApiModelProperty("商品id")
    private Integer productId;

    @ApiModelProperty("拼团商品")
    private String productName;

    @ApiModelProperty("商品图片")
    private String productImage;

    @ApiModelProperty("商品品牌")
    private String productBrand;

    @ApiModelProperty("团长id")
    private Integer leaderId;

    @ApiModelProperty("团长名称")
    private String leaderName;

    @ApiModelProperty("团长头像")
    private String avatar;

    @ApiModelProperty("佣金比例")
    private BigDecimal rebateRate;

    @ApiModelProperty("拼团价")
    private BigDecimal packagePrice;

    @ApiModelProperty("原价")
    private BigDecimal price;

    @ApiModelProperty("总运税费")
    private BigDecimal totalTaxPrice;

    @ApiModelProperty("活动状态")
    private String activityStatus;

    @ApiModelProperty("团购库存")
    private Integer stock;

    @ApiModelProperty(value = "是否使用兜底佣金：1是 0否")
    private Integer useBaseRebateRate;

}
